/**
 * admui-basic v2.1.0 (http://www.admui.com/)
 * Copyright 2015-2019 Admui Team
 * Licensed under the Admui License 1.1 (http://www.admui.com/about/license)
 */
(function(document, window, $) {
  'use strict';

  // 右上角按钮程序控制所有面板动画效果
  $(document).on('click.panel.transition', '[data-type]', function() {
    $('#exampleTransition')
      .data('animateList')
      .run($(this).data('type'));
  });

  // 关闭当前面板
  $(document).on('close.uikit.panel', '[class*=blocks-] > li > .panel', function() {
    $(this)
      .parent()
      .hide();
  });
})(document, window, jQuery);
